package com.semptian.deye.semptian.analyzer;


import org.apache.lucene.analysis.Analyzer;

/**
 * @author zww
 * @date 2021/8/12 20:22
 * @desc
 */
public class SemptianAnalyzer extends Analyzer {
    @Override
    protected TokenStreamComponents createComponents(String fieldName) {
        return new TokenStreamComponents(new SemptianTokenizer());
    }
}
